<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<%-- <title>首页</title> --%>
	<meta name="decorator" content="ems_${site.theme}_front" />
	<meta name="description" content="JeeSite ${site.description}" />
	<meta name="keywords" content="JeeSite ${site.keywords}" /> 
	
</head>
<body>
	<form id="pageForm" method="post" name="subForm" action="${ctx }/list-${category.id}${urlSuffix}?siteId=${site.id }&key=${key }">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<input id="id" name="categoryId" type="hidden" value="${category.id}"/>
	</form>
	
	<header class="mui-bar mui-bar-nav" style="background:url('${ctxStatic }/weixin/images/navbg.jpg');"> 
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
			<div style="width:80%; overflow: hidden; margin:0  10%; line-height: 44px; text-align:left; vertical-align: middle; height: 100%;color:#fff;">
			栏目名称
			 </div> 
	</header>
 
 
		<div class="mui-content" style="padding-top:50px; padding-bottom: 60px; overflow-y: scroll; height:auto;">
		       
				<div class="title" style="padding: 10px;font-size: 12px;color: #999;">
				 <span class="mui-icon mui-icon-location-filled"></span>当前位置：栏目名称
				</div>
				<ul class="mui-table-view mui-grid-view" style="margin-bottom:10px;">
				<c:forEach items="${page.list}" var="article">
			        <li class="mui-table-view-cell mui-media mui-col-xs-6">
			            <a href="<c:if test='${not empty article.link }'>${article.link }</c:if> <c:if test='${empty article.link }'>${ctx}/view-${article.category.id}-${article.id}${urlSuffix}?siteId=${site.id }</c:if>" target="<c:if test='${not empty article.link }'>_blank</c:if>">
			                <img class="mui-media-object" src="${article.image}">
			                <div class="mui-media-body">${article.title}</div></a>
			        </li>
			    </c:forEach>
			    </ul>   
		     <div class="fenye">
		     	${page.pageWeiXin}
		     </div>
		</div>
		 
	</body>
</html>